#ifndef _HOLY_WATER_H_
#define _HOLY_WATER_H_

#include "Object.h"

#define HOLY_WATER_VX			0.25
#define HOLY_WATER_GRAVITY		0.005
#define HOLY_WATER_VY			1.0
 

class HolyWater : public Object
{
	bool isLeft;

	Sprite* p_light;
	float time_light;

public:
	/*
	 *	get/set properties
	 */
	OBJECT_TYPE getObjectType();

	/*
	 *	Contructor/destructor
	 */
	HolyWater(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y, bool isLeft);
	~HolyWater();

	
	/*
	 *	Method
	 */
	void update(list<Object*>* obj_list, DxInput* input, float TPF);

	void render(int cameraX, int cameraY);
	void changeState(int state);
};

#endif